package com.jxsz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jxsz.entity.OrderQueryDto;
import com.jxsz.entity.TOrder;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface TOrderService extends IService<TOrder> {
    Page<TOrder> findAllOrders(Integer page, Integer size, OrderQueryDto orderQueryDto);

    void saveOrder(TOrder order);

    Map<String, Object> fenpai(Integer id, Integer deptId, String deptName);

    Map<String, Object> queryDeptCount(Integer deptId,String startTime,String endTime);

    Map<String, Object> queryTypeCount(Integer orderType, String startTime, String endTime);

}
